package com.project.pojo.model;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Description: 修改购物车商品数量入参类
 * @Author: zhuchi
 * @CreateDate: 2020/10/15 23:30
 * @Version: 1.0
 */
@Data
public class UpdateShoppingCartCountModel {

    /**
     * 购物车ID
     */
    @NotNull(message = "请选择要修改的商品")
    private Long cartId;

    /**
     * 购买数量
     */
    @NotNull(message = "请选择购买数量")
    private Integer count;

}
